package com.tysong.qq.patterns;

import com.alibaba.fastjson.JSONObject;
import love.forte.simbot.api.message.events.GroupMsg;
import love.forte.simbot.api.sender.MsgSender;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 策略模式接口
 * @Project: qq
 * @Author: Sunday
 * @Create: 2021-09-01 20:49
 **/
@Component
public interface Strategy {
    void doOperation(GroupMsg msg, MsgSender sender, String groupNumber, List<String> listName);

    /**
     * 点歌网易云音乐
     *
     * @param keyword
     * @return
     * @throws Exception
     */
    void neteaseCloudMusic(MsgSender sender, String groupNumber, String keyword) throws Exception;
}
